package com.ruoyi.webshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 goods_spu_info
 *
 * @author ruoyi
 * @date 2024-03-14
 */
public class GoodsSpuInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品主键#primary
     */
    private Long goodsId;

    /**
     * 一级分类#foreign#category_one=cone_id,cone_name
     */
    @Excel(name = "一级分类#foreign#category_one=cone_id,cone_name")
    private Long coneId;

    /**
     * 二级分类#foreign#category_two=ctwo_id,ctwo_name
     */
    @Excel(name = "二级分类#foreign#category_two=ctwo_id,ctwo_name")
    private Long ctwoId;

    /**
     * 三级分类#foreign#category_three=cthr_id,cthr_name
     */
    @Excel(name = "三级分类#foreign#category_three=cthr_id,cthr_name")
    private Long cthrId;

    /**
     * 品牌#foreign#brand_info=brand_id,brand_cn_name
     */
    @Excel(name = "品牌#foreign#brand_info=brand_id,brand_cn_name")
    private Long brdId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String goodsName;

    /**
     * 商品代号
     */
    @Excel(name = "商品代号")
    private String goodsCode;

    /**
     * 详细说明
     */
    @Excel(name = "详细说明")
    private String goodsInfo;


    private String coneName;

    private String ctwoName;

    private String cthrName;

    private String brandCnName;


    public String getConeName() {
        return coneName;
    }

    public void setConeName(String coneName) {
        this.coneName = coneName;
    }

    public String getCtwoName() {
        return ctwoName;
    }

    public void setCtwoName(String ctwoName) {
        this.ctwoName = ctwoName;
    }

    public String getCthrName() {
        return cthrName;
    }

    public void setCthrName(String cthrName) {
        this.cthrName = cthrName;
    }

    public String getBrandCnName() {
        return brandCnName;
    }

    public void setBrandCnName(String brandCnName) {
        this.brandCnName = brandCnName;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setConeId(Long coneId) {
        this.coneId = coneId;
    }

    public Long getConeId() {
        return coneId;
    }

    public void setCtwoId(Long ctwoId) {
        this.ctwoId = ctwoId;
    }

    public Long getCtwoId() {
        return ctwoId;
    }

    public void setCthrId(Long cthrId) {
        this.cthrId = cthrId;
    }

    public Long getCthrId() {
        return cthrId;
    }

    public void setBrdId(Long brdId) {
        this.brdId = brdId;
    }

    public Long getBrdId() {
        return brdId;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public String getGoodsInfo() {
        return goodsInfo;
    }

    @Override
    public String toString() {
        return "GoodsSpuInfo{" +
                "goodsId=" + goodsId +
                ", coneId=" + coneId +
                ", ctwoId=" + ctwoId +
                ", cthrId=" + cthrId +
                ", brdId=" + brdId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsCode='" + goodsCode + '\'' +
                ", goodsInfo='" + goodsInfo + '\'' +
                ", coneName='" + coneName + '\'' +
                ", ctwoName='" + ctwoName + '\'' +
                ", cthrName='" + cthrName + '\'' +
                ", brandCnName='" + brandCnName + '\'' +
                '}';
    }
}
